<template>
    <div class="article">
        <ArticleHead />
        <ArticleCon :articleId="articleId"></ArticleCon>
    </div>
</template>

<script>
    import ArticleCon from "./ArticleCon";

    export default {
        name: "index",
        components: { ArticleCon },
        data () {
            return {
                articleId: '',
            }
        },
        created () {

        },
        mounted() {
            let { articleId } = this.$route.params
            this.articleId = articleId
        },
    }
</script>

<style scoped lang="scss">
    .article {
        margin: 0 auto;
        max-width: 800px;
    }
</style>
